Skip to content

Ignore .claude/ directory#28

Merged
KaliCZ merged 1 commit intomainfrom
gitignore-claude-dir
Apr 17, 2026
Merged

Ignore .claude/ directory#28
KaliCZ merged 1 commit intomainfrom
gitignore-claude-dir

Conversation

@KaliCZ
Copy link
Copy Markdown
Owner

@KaliCZ KaliCZ commented Apr 17, 2026

Summary

  • Add .claude/ to .gitignore so Claude Code's isolation worktrees (created under .claude/worktrees/) and other per-user harness state don't show up as untracked changes in git status.

Test plan

  • git status in a clean checkout with a Claude Code worktree present no longer lists .claude/

Claude Code creates isolation worktrees under .claude/worktrees, which
showed up as untracked changes in the main repo. Ignore the whole
.claude/ tree so per-user harness state doesn't leak into git status.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@KaliCZ KaliCZ self-assigned this Apr 17, 2026
@KaliCZ KaliCZ enabled auto-merge (squash) April 17, 2026 10:36
@KaliCZ KaliCZ merged commit 2b98fb4 into main Apr 17, 2026
2 checks passed
@KaliCZ KaliCZ deleted the gitignore-claude-dir branch April 17, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant